package model;

import java.math.BigDecimal;

public class Trade {
    private Integer id;
    private Integer uId;
    private Integer tradeType;
    private String orderNo;
    private BigDecimal tradeMoney;
    private String createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getTradeType() {
        return tradeType;
    }

    public void setTradeType(Integer tradeType) {
        this.tradeType = tradeType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public BigDecimal getTradeMoney() {
        return tradeMoney;
    }

    public void setTradeMoney(BigDecimal tradeMoney) {
        this.tradeMoney = tradeMoney;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Trade() {
    }

    @Override
    public String toString() {
        return "Trade{" +
                "id=" + id +
                ", uId=" + uId +
                ", tradeType=" + tradeType +
                ", orderNo='" + orderNo + '\'' +
                ", tradeMoney=" + tradeMoney +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
